package com.huanxing.cloud.order.event;

import com.huanxing.cloud.order.api.entity.OrderInfo;
import com.huanxing.cloud.order.api.entity.OrderItemEntity;
import com.huanxing.cloud.order.api.entity.OrderRefund;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author: lijx
 * @date: 2023/4/24 11:57
 */
public class HxOrderRefundEvent extends ApplicationEvent {

	@Getter
	private final OrderRefund orderRefund;

	@Getter
	private final OrderItemEntity orderItemEntity;

	@Getter
	private final OrderInfo orderInfo;

	public HxOrderRefundEvent(Object source, OrderRefund orderRefund, OrderItemEntity orderItemEntity,
			OrderInfo orderInfo) {
		super(source);
		this.orderRefund = orderRefund;
		this.orderItemEntity = orderItemEntity;
		this.orderInfo = orderInfo;
	}

}
